package com.zhf.model;

import java.io.Serializable;

public class QuestionMessage implements Serializable {

    private static final long serialVersionUID = -5054618773042623546L;

    private Question question;
    private String message;

    public QuestionMessage() {
    }

    public QuestionMessage(Question question, String message) {
        this.question = question;
        this.message = message;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "QuestionMessage{" +
                "question=" + question +
                ", message='" + message + '\'' +
                '}';
    }
}
